hglm: A Package for Fitting Hierarchical Generalized Linear Models
نویسندگان
چکیده
We present the hglm package for fitting hierarchical generalized linear models. It can be used for linear mixed models and generalized linear mixed models with random effects for a variety of links and a variety of distributions for both the outcomes and the random effects. Fixed effects can also be fitted in the dispersion part of the model.
منابع مشابه
The hglm Package ( version 1
This vignette describes the R hglm package via a series of applications that may be of interest to applied scientists. The hglm package implements the estimation algorithm for hierarchical generalized linear models. The package fits generalized linear models with random effects, where the random effect may come from a conjugate exponential-family distribution (Gaussian, Gamma, Beta or inverse-G...
متن کاملThe hglm Package ( Version 2 . 0 )
Abstract This vignette describes the R hglm package via a series of applications that may be of interest to applied scientists. The hglm package implements the estimation algorithm for hierarchical generalized linear models. The package fits generalized linear models with random effects, where the random effect may come from a conjugate exponential-family distribution (Gaussian, Gamma, Beta or ...
متن کاملThe hglm Package
This vignette describes the R hglm package via a series of applications that may be of interest to applied scientists. The hglm package implements the estimation algorithm for hierarchical generalized linear models. The package fits generalized linear models with random effects, where the random effect may come from a conjugate exponential-family distribution (Gaussian, Gamma, Beta or inverse-G...
متن کاملFitting Conditional and Simultaneous Autoregressive Spatial Models in hglm
We present a new version (> 2.0) of the hglm package for fitting hierarchical generalized linear models (HGLMs) with spatially correlated random effects. CAR() and SAR() families for conditional and simultaneous autoregressive random effects were implemented. Eigen decomposition of the matrix describing the spatial structure (e.g., the neighborhood matrix) was used to transform the CAR/SAR rand...
متن کاملSpatial modeling of data with excessive zeros applied to reindeer pellet‐group counts
We analyze a real data set pertaining to reindeer fecal pellet-group counts obtained from a survey conducted in a forest area in northern Sweden. In the data set, over 70% of counts are zeros, and there is high spatial correlation. We use conditionally autoregressive random effects for modeling of spatial correlation in a Poisson generalized linear mixed model (GLMM), quasi-Poisson hierarchical...
متن کامل